From: popcornmix Date: Tue, 5 Apr 2016 18:40:12 +0000 (+0100) Subject: reboot: Use power off rather than busy spinning when halt is requested X-Git-Tag: archive/raspbian/4.9.80-2+rpi1~5^2~450 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=5aaa3b3f4fb02ba51d2b28167126c40f0c903eae;p=linux-4.9.git reboot: Use power off rather than busy spinning when halt is requested --- diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c index 3fa867a2aae6..80dca8dcd670 100644 --- a/arch/arm/kernel/reboot.c +++ b/arch/arm/kernel/reboot.c @@ -102,9 +102,7 @@ void machine_shutdown(void) */ void machine_halt(void) { - local_irq_disable(); - smp_send_stop(); - while (1); + machine_power_off(); } /*